#include <stdio.h>
#include <stdlib.h>

int main (int argc, char const* argv[])
{
    double prev, next;

    scanf("%lf", &prev);
    if (999 - prev > 0.0000001) {
        while (EOF != scanf("%lf", &next)) {
            if (999 - next < 0.0000001) break;

            printf("%.2lf\n", next - prev);
            prev = next;
        }
        printf("End of Output\n");
    }

    return 0;
}
